package com.example.makerspace.dto.lowcode;


import lombok.Data;

@Data
public class GraphProperty {
    private String property;
    private String type;
    private String propertyCH;

    @Override
    public boolean equals(Object obj){
        GraphProperty graphProperty;
        if(obj instanceof GraphProperty){
            graphProperty = (GraphProperty) obj;
        }else{
            return false;
        }
        return graphProperty.getProperty().equals(this.property) &&
                graphProperty.getType().equals(this.type);
    }

}
